package com.khshop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.khshop.pojo.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 菜单按钮 服务类
 * </p>
 *
 * @author zhaoyang
 * @since 2020-10-08
 */
public interface MenuService extends IService<Menu> {
    //查
    public IPage<Menu> findAllMenu(Integer page, Integer limit);
    //增
    public boolean addMenu(Menu menu);
    //改
    public boolean updateMenu(Menu menu);
    //删
    public boolean delMenu(Long id);
}
